<wx:page
 class="x-page"
 id="page"
 style="background-color:#f2edf5;padding-left:5px;padding-right:5px"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on"
 xmlns:wx="$UI/wxsys/comps">
<wx:model
 id="model"
 style="left:0px;top:0px;height:auto;position:absolute">
<wx:wxApi
 id="wxapi"
 label="通用接口"/>
<wx:commonOperation
 id="commonOperation"
 label="操作扩展"
 xmlns:wx="$UI/wxsys/comps"/>
<param
 id="default0"
 label="帮忙请求ID"
 name="param0"
 type="String"
 xid="xid_1552192086494_1"/>
<wx:restData
 _created="true"
 auto="load"
 className="/main/bangbangm"
 id="restData"
 label="帮帮忙"
 url="/dbrest">
<join
 id="default14"
 leftTable="/main/bangbangm"
 rightTable="/main/yonghufjxx"
 xmlns="http://www.w3.org/1999/xhtml">
<on
 fn="eq"
 id="default15"
 leftField="ffaqirid"
 leftFieldLabel="发起人ID"
 rightField="fyonghuid"
 rightFieldLabel="用户ID"/>
<column
 field="fxinyongf"
 id="default16"
 label="发起人ID-信用分"
 name="ffaqirid_yonghufjxx_fxinyongf"/>
<column
 field="ftouxiang"
 id="default17"
 label="发起人ID-头像"
 name="ffaqirid_yonghufjxx_ftouxiang"/>
<column
 field="fxingming"
 id="default18"
 label="发起人ID-姓名"
 name="ffaqirid_yonghufjxx_fxingming"/>
<column
 field="fsushem"
 id="default19"
 label="发起人ID-宿舍名"
 name="ffaqirid_yonghufjxx_fsushem"/>
<column
 field="fzuohao"
 id="default20"
 label="发起人ID-座号"
 name="ffaqirid_yonghufjxx_fzuohao"/></join>
<join
 id="default21"
 leftTable="/main/bangbangm"
 rightTable="/main/yonghufjxx"
 xmlns="http://www.w3.org/1999/xhtml">
<on
 fn="eq"
 id="default22"
 leftField="ffuwuzid"
 leftFieldLabel="服务者ID"
 rightField="fyonghuid"
 rightFieldLabel="用户ID"/>
<column
 field="fxinyongf"
 id="default23"
 label="服务者ID-信用分"
 name="ffuwuzid_yonghufjxx_fxinyongf"/>
<column
 field="ftouxiang"
 id="default24"
 label="服务者ID-头像"
 name="ffuwuzid_yonghufjxx_ftouxiang"/>
<column
 field="fxingming"
 id="default25"
 label="服务者ID-姓名"
 name="ffuwuzid_yonghufjxx_fxingming"/>
<column
 field="fsushem"
 id="default26"
 label="服务者ID-宿舍名"
 name="ffuwuzid_yonghufjxx_fsushem"/>
<column
 field="fzuohao"
 id="default27"
 label="服务者ID-座号"
 name="ffuwuzid_yonghufjxx_fzuohao"/></join>
<filter
 _filter_label="主键 等于 params.param0"
 id="restDatafilter"
 name="_system1_">eq('fid',params.param0)</filter></wx:restData>
<wx:tableData
 auto="load"
 className="/main/linshisj"
 id="tableData"
 label="临时数据"/>
<wx:serviceRequest
 class="hide"
 id="serviceRequest"
 label="注册用户聊天列表"
 service="/main/tianjiadqyhfjxx/zhuceyhltlb"/>
<wx:serviceRequest
 class="hide"
 id="serviceRequest1"
 label="请求接活"
 on:success="[{&quot;operation&quot;:&quot;wxapi.showToast&quot;,&quot;args&quot;:{&quot;title&quot;:&quot;js:$event.data&quot;}},{&quot;operation&quot;:&quot;commonOperation.close&quot;}]"
 service="/main/gengxinxyf/qingqiujh"/></wx:model>
<wx:loading
 class="weui-loader-full {{$state.loadingNum &lt;= 0 ?'weui-loader-hide':''}}"
 style="z-index: 10001;"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:on="http://www.wex5.com/wx/event/on"
 xmlns:wx="$UI/wxsys/comps">
<view
 class="ball-scale-ripple-multiple">
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/>
<view
 class="weui-loader-view"/></view></wx:loading>
<wx:inVisibleCompContainer
 id="inVisibleCompContainer">
<wx:user
 appPath="$UI/main"
 autoLoadUserInfo="true"
 autoLogin="true"
 id="user"
 useOpenid="false">
<wx:restData
 _created="true"
 className="uaa/user"
 columns="id,name,email,userName,phone,avatarUrl,description,data4,data5,data9,data15,data17,data2,data3,data6"
 id="restData1"
 label="用户信息"
 owner="user"
 xmlns:wx="$UI/wxsys/comps">
<column
 id="default9"
 label="昵称"
 name="nickName"
 type="String"/>
<column
 id="default10"
 label="群组"
 name="group"
 type="Array"/>
<column
 id="default11"
 label="是否登录"
 name="isLogined"
 type="Boolean"/>
<rule
 id="rule">
<readonly
 id="default12">
<expr
 id="default13">true</expr></readonly></rule></wx:restData></wx:user>
<wx:gallery
 bind-showImage="restData.current.ftupian"
 id="gallery"></wx:gallery></wx:inVisibleCompContainer>
<view
 id="view"
 label="求助信息"
 style="background-color:#eadbf2">
<wx:row
 bind:hidden="wx.Util.iif(wx.StringUtilFn.isObjectStorageNull(restData.current.ftupian)==true,true,false)"
 class="x-row"
 id="row"
 label="大头图">
<wx:col
 class="x-col"
 id="col"/>
<wx:col
 class="x-col"
 id="col1"
 style="padding-top:10px">
<wx:image
 bind:src="restData.current.ftupian"
 class="weui-img weui-img_circle center-block"
 id="image"
 mode="widthFix"
 style="width:128px;height:128px"/></wx:col>
<wx:col
 class="x-col"
 id="col2"/></wx:row>
<wx:row
 class="x-row"
 id="row2">
<wx:col
 class="x-col x-col-fixed"
 id="col6">
<wx:text
 bind:text="restData.current.fzhuti"
 id="text1"
 style="font-weight:bold;transform:rotate(0deg);font-size:28px;color:#9c28b1">主题</wx:text></wx:col>
<wx:col
 class="x-col"
 id="col7"/>
<wx:col
 class="x-col x-col-fixed"
 id="col8">
<wx:text
 bind:text="&quot;￥&quot; + restData.current.fchoujin"
 id="text12"
 label="酬金"
 style="display:block;text-align: right;font-size:20px;color:#fa6868"
 xmlns:catch="http://www.wex5.com/wx/event/catch"
 xmlns:wx="$UI/wxsys/comps">酬金</wx:text></wx:col></wx:row>
<wx:text
 bind:text="restData.current.fmiaoshu"
 id="text2"
 style="display:block;font-size:18px;font-style: italic">描述</wx:text>
<view
 bind:hidden="wx.Util.iif(wx.StringUtilFn.isObjectStorageNull(restData.current.ftupian)==null,true,false)"
 id="view1">
<view
 id="view34">
<wx:row
 bind:hidden="wx.Util.iif(wx.StringUtilFn.isObjectStorageNull(restData.current.ftupian)==false,false,true)"
 class="x-row"
 id="row1">
<wx:col
 class="x-col"
 id="col3"/>
<wx:col
 class="x-col x-col-fixed"
 id="col4">
<wx:button
 class="wx-btn"
 id="button"
 on:tap="{&quot;operation&quot;:&quot;gallery.showGallery&quot;}"
 size="mini"
 style="background-color:#9c28b1"
 type="primary">
<wx:icon
 id="icon"
 size="15"
 type="wx-btn-icon"/>
<view
 class="wx-btn-label"
 id="view35">查看所有图片</view></wx:button></wx:col>
<wx:col
 class="x-col"
 id="col5"/></wx:row></view></view></view>
<view
 id="view43"
 label="发起人信息"
 style="margin-top:5px;background-color:#eadbf2"
 xmlns:catch="http://www.wex5.com/wx/event/catch">
<wx:row
 class="x-row"
 id="row10"
 xmlns:wx="$UI/wxsys/comps">
<wx:col
 class="x-col"
 id="col27">
<wx:text
 id="text15">发起者</wx:text></wx:col>
<wx:col
 class="x-col"
 id="col28"/>
<wx:col
 class="x-col"
 id="col29"/></wx:row>
<wx:row
 class="x-row"
 id="row11"
 on:tap="[{&quot;operation&quot;:&quot;wxapi.navigateTo&quot;,&quot;args&quot;:{&quot;url&quot;:&quot;$UI/main/bangbang_m/yonghu_fbdqz.w&quot;,&quot;params&quot;:&quot;js:{\&quot;param0\&quot;:restData.current.ffaqirid,\&quot;param1\&quot;:restData.current.ffaqirid_yonghufjxx_fxingming}&quot;},&quot;cond&quot;:&quot;js:wx.Util.iif(restData.current.ffaqirid==restData1.current.id,false,true)&quot;},{&quot;operation&quot;:&quot;wxapi.navigateTo&quot;,&quot;args&quot;:{&quot;url&quot;:&quot;$UI/main/bangbang_m/woshen_qdfw.w&quot;},&quot;cond&quot;:&quot;js:wx.Util.iif(restData.current.ffaqirid==restData1.current.id,true,false)&quot;}]"
 xmlns:wx="$UI/wxsys/comps">
<wx:col
 class="x-col x-col-fixed"
 id="col30">
<wx:image
 bind:src="restData.current.ffaqirid_yonghufjxx_ftouxiang"
 class="weui-img"
 id="image19"
 mode="scaleToFill"
 style="width:64px;height:64px;border-radius:5px;border:3px solid #CCCCCC"/></wx:col>
<wx:col
 class="x-col"
 id="col31">
<wx:text
 bind:text="restData.current.ffaqirid_yonghufjxx_fxingming"
 id="text16"
 style="display:block">姓名</wx:text>
<wx:text
 bind:text="restData.current.ffaqirid_yonghufjxx_fsushem + restData.current.ffaqirid_yonghufjxx_fzuohao"
 id="text17"
 style="display:block">住址</wx:text>
<wx:text
 bind:text="&quot;信用分：&quot; + restData.current.ffaqirid_yonghufjxx_fxinyongf"
 id="text18"
 style="display:block">信用分</wx:text></wx:col></wx:row>
<wx:row
 bind:hidden="wx.Util.iif(restData1.current.isLogined==false||restData1.current.id==restData.current.ffaqirid,true,false)"
 class="x-row"
 id="row12"
 xmlns:wx="$UI/wxsys/comps">
<wx:col
 class="x-col"
 id="col32"/>
<wx:col
 class="x-col x-col-fixed"
 id="col33">
<wx:button
 class="wx-btn"
 id="button6"
 on:tap="{&quot;operation&quot;:&quot;serviceRequest.sendServiceRequest&quot;,&quot;args&quot;:{&quot;params&quot;:&quot;js:{\&quot;user2ID\&quot;:restData.current.ffaqirid}&quot;}}"
 size="mini"
 style="background-color:#9c28b1"
 type="primary">
<wx:icon
 id="icon6"
 size="15"
 type="wx-btn-icon"/>
<view
 class="wx-btn-label"
 id="view44">联系</view></wx:button></wx:col>
<wx:col
 class="x-col x-col-fixed"
 id="col34">
<wx:button
 class="wx-btn"
 id="button7"
 on:tap="{&quot;operation&quot;:&quot;serviceRequest1.sendServiceRequest&quot;,&quot;args&quot;:{&quot;params&quot;:&quot;js:{\&quot;helperID\&quot;:params.param0}&quot;}}"
 size="mini"
 style="background-color:#fa6868"
 type="warn">
<wx:icon
 id="icon7"
 size="15"
 type="wx-btn-icon"/>
<view
 class="wx-btn-label"
 id="view45">接活</view></wx:button></wx:col></wx:row></view>
<view
 bind:hidden="wx.Util.iif(restData.current.ffuwuzid!=&quot;&quot;,false,true)"
 id="view46"
 label="服务者信息"
 style="background-color:#eadbf2;margin-top:5px"
 xmlns:catch="http://www.wex5.com/wx/event/catch">
<wx:row
 class="x-row"
 id="row13"
 xmlns:wx="$UI/wxsys/comps">
<wx:col
 class="x-col"
 id="col35">
<wx:text
 id="text19">服务者</wx:text></wx:col>
<wx:col
 class="x-col"
 id="col36"/>
<wx:col
 class="x-col"
 id="col37"/></wx:row>
<wx:row
 class="x-row"
 id="row14"
 on:tap="{&quot;operation&quot;:&quot;wxapi.navigateTo&quot;,&quot;args&quot;:{&quot;url&quot;:&quot;$UI/main/bangbang_m/yonghu_fbdqz.w&quot;,&quot;params&quot;:&quot;js:{\&quot;param0\&quot;:restData.current.ffuwuzid,\&quot;param1\&quot;:restData.current.ffuwuzid_yonghufjxx_fxingming}&quot;}}"
 xmlns:on="http://www.wex5.com/wx/event/on"
 xmlns:wx="$UI/wxsys/comps">
<wx:col
 class="x-col x-col-fixed"
 id="col38">
<wx:image
 bind:src="restData.current.ffuwuzid_yonghufjxx_ftouxiang"
 class="weui-img"
 id="image20"
 mode="scaleToFill"
 style="width:64px;height:64px;border-radius:5px;border:3px solid #CCCCCC"
 xmlns:bind="http://www.wex5.com/wx/bind"/></wx:col>
<wx:col
 class="x-col"
 id="col39">
<wx:text
 bind:text="restData.current.ffuwuzid_yonghufjxx_fxingming"
 id="text20"
 style="display:block"
 xmlns:bind="http://www.wex5.com/wx/bind">姓名</wx:text>
<wx:text
 bind:text="restData.current.ffuwuzid_yonghufjxx_fsushem + restData.current.ffuwuzid_yonghufjxx_fzuohao"
 id="text21"
 style="display:block"
 xmlns:bind="http://www.wex5.com/wx/bind">住址</wx:text>
<wx:text
 bind:text="&quot;信用分：&quot; + restData.current.ffuwuzid_yonghufjxx_fxinyongf"
 id="text22"
 style="display:block"
 xmlns:bind="http://www.wex5.com/wx/bind">信用分</wx:text></wx:col></wx:row>
<wx:row
 bind:hidden="wx.Util.iif(restData1.current.id==restData.current.ffaqirid,false,true)"
 class="x-row"
 id="row15"
 xmlns:bind="http://www.wex5.com/wx/bind"
 xmlns:wx="$UI/wxsys/comps">
<wx:col
 class="x-col"
 id="col40"/>
<wx:col
 class="x-col x-col-fixed"
 id="col41">
<wx:button
 class="wx-btn"
 id="button8"
 on:tap="{&quot;operation&quot;:&quot;serviceRequest.sendServiceRequest&quot;,&quot;args&quot;:{&quot;params&quot;:&quot;js:{\&quot;user2ID\&quot;:restData.current.ffuwuzid}&quot;}}"
 size="mini"
 style="background-color:#9c28b1"
 type="primary"
 xmlns:on="http://www.wex5.com/wx/event/on">
<wx:icon
 id="icon8"
 size="15"
 type="wx-btn-icon"/>
<view
 class="wx-btn-label"
 id="view47">联系</view></wx:button></wx:col>
<wx:col
 class="x-col x-col-fixed"
 id="col42">
<wx:button
 class="wx-btn"
 id="button9"
 on:tap="{&quot;operation&quot;:&quot;wxapi.navigateTo&quot;,&quot;args&quot;:{&quot;url&quot;:&quot;$UI/main/bangbang_m/fukuan_gdf.w&quot;,&quot;params&quot;:&quot;js:{\&quot;param0\&quot;:restData.current.ffuwuzid,\&quot;param1\&quot;:restData.current.fchoujin}&quot;}}"
 size="mini"
 style="background-color:#fa6868"
 type="warn"
 xmlns:on="http://www.wex5.com/wx/event/on">
<wx:icon
 id="icon9"
 size="15"
 type="wx-btn-icon"/>
<view
 class="wx-btn-label"
 id="view48">付款</view></wx:button></wx:col></wx:row></view></wx:page>___js___:import PageImpl from "$UI/wxsys/lib/base/pageImpl";var app = getApp();export default class IndexPage extends PageImpl {constructor(...args){super(...args);}}